Repository navigation
Conversation
Add the media/1 surface (#13679): a bounded MediaSurface of typed MediaItems (image/audio/video sort, artifact id, optional dimensions and duration) with validation, an exhaustive WorldSurface::Media arm, the parse_surface dispatch and duplicate-key kind list, and a deterministic escape-free text projection. Also accept the new variant in the id-cli world frame renderer, which keeps the exhaustive match compiling and falls back to the text path until a media presenter exists. The document carries no bytes, URLs or mime strings; presenters resolve each artifact id against the world's own media artifacts.
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 36 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Implements the settled media/1 design on #13679, mirroring the audio/widget surfaces:
No embedded bytes, URLs or scripts; artifact ids resolve against the world's own media artifacts. Media transport/storage/dedup/GC/access control stays out of scope (#9084).
Tests: media_surface_parses_projects_and_round_trips and media_surface_rejects_unsafe_or_inconsistent_documents, 51 passed in world_presentation; cargo build -p id-cli clean.
Implements #13679. Lane oc-code-02.
{ "direct_parent": null, "links": [], "lineage": { "design": null, "roadmap_item": null, "priority": null }, "pm_meta": 1, "provenance": { "queue_id": null, "scheduled_start": null, "picked_up_at": null, "work_started_at": null, "created_at": "2026-11-24T09:59:39Z", "session_id": "ses_e5df3167611ffeECfFcql9dnmo", "lane": null, "host": "amd", "worktree": "/home/user/git/fleet/oc-code-02-13679-media", "model": null, "lane_start_issues": [], "workspace_ref": { "kind": "worktree", "id": "/home/user/git/fleet/oc-code-02-13679-media", "repo": "developing-today/code", "branch": "oc-code-02/13679-media-surface", "sha": "e12c5039db965f0dfc9624a77825524409ae096c" }, "auth_subject": "oc-code-07", "stamped_by": "fleet 0.1.0 (native)" } }Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.